package yf.mall.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;


/**
 * 直播实体
 * 表名 live
 *
 *
 *
 * @date Thu Sep 10 11:00:34 CST 2020
 */
@Setter
@Getter
public class LiveEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
        //主题
    private String theme;
        //IMG-封面
    private String img;
        //推流地址
    private String push;
        //拉流地址
    private String pull;
        //回放地址
    private String back;
        //streamName名称
    private String streamName;
        //开始时间
    private Date start;
        //起止时间
    Date[] starts;
        //结束时间
    private Date end;
        //起止时间
    Date[] ends;
        //用户id
    private Long userId;

    private Integer camera;
    
    public LiveEntity(){

    }

    private String userCode;

    private List<MallGoodsEntity> goods = new ArrayList<>();

    private ShopEntity shopEntity;

    //是否正在直播
    private Boolean flag;
}
